<?php

	/*
	*	根据ID从数据库获取详情
	*	返回关联数组
	*/
	
	
	class DetailModel {
		
		public function getDetail($id) {
			
			$table = new DataTableModel();
			
			$res = $table->select($id);
		
			$tmp = mysql_fetch_assoc($res);
			
			return $tmp;
			
		}
		
	}
?>
















